home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.awt.Point;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import java.util.EventObject;
-
- final class ToolTipManager$1 implements ActionListener {
- // $FF: synthetic field
- private final ToolTipManager this$0;
-
- // $FF: synthetic method
- ToolTipManager$1(ToolTipManager var1) {
- this.this$0 = var1;
- }
-
- public void actionPerformed(ActionEvent var1) {
- if (this.this$0.tipWindow != null) {
- this.this$0.hideTipWindow();
- } else {
- this.this$0.hideTipWindow();
- this.this$0.enterTimer.stop();
- this.this$0.exitTimer.stop();
- this.this$0.insideTimer.stop();
- this.this$0.insideComponent = (JComponent)((EventObject)var1).getSource();
- if (this.this$0.insideComponent != null) {
- this.this$0.toolTipText = this.this$0.insideComponent.getToolTipText();
- this.this$0.preferredLocation = new Point(10, this.this$0.insideComponent.getHeight() + 10);
- this.this$0.showTipWindow();
- if (ToolTipManager.access$0(this.this$0) == null) {
- ToolTipManager.access$2(this.this$0, ToolTipManager.access$1(this.this$0));
- }
-
- this.this$0.insideComponent.addFocusListener(ToolTipManager.access$0(this.this$0));
- }
- }
-
- }
- }
-